package com.example.sup.vo;

import com.example.sup.entity.*;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @ClassName PrisonQueryPageVO
 * @Description {TODO}
 * @Author 李哲
 * @Date 16:26 2024/7/25
 * @Version 1.0
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PrisonQueryPageVO {
    /***************1.prison表********************/
    private Integer prisonId;
    private String prisonName;
    private Integer userInfoId;
    private Integer prisonDistrictId;
    private Integer equipmentStrongId;
    private Integer equipmentWeakId;
    private Integer prisonTypeId;
    private Integer unmWare;
    private Date createTime;
    private String createBy;
    /***************2.event_info表********************/
    private List<EventInfo> eventInfos;
    /***************3.equipment_info表********************/
    private Integer strongState;//根据设备状态、event_info决定监视状态：设备正常，设备离线，设备报警
    private Integer weakState;
    private String prisonIds;
    private EquipmentInfo equipmentStrong;
    private EquipmentInfo equipmentWeak;
    private Integer prisonState;
    /***************4.prison_type********************/
    private PrisonType prisonType;
    /***************5.vprion_jack视图********************/
    private List<VPrisonJackVO> vprisonJacks; //vprion_jack视图
    /***************6.jack_info表********************/
    private List<JackInfo> jackInfos;//jack_info表
}
